package com.example.expinterview.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author parkin
 * @Date 2021/11/1 17:59
 * @Version 2.0
 * @Description 分享面经的用户关系
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "分享面经邀请关系")
public class EiShareArticleInviteRelation {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "分享面经日志id")
    private Long shareArticleLogId;
    @ApiModelProperty("被邀请的用户id")
    private Long userId;
}
